<template>
  <div>
    <h3>父组件</h3>
    <hr>
    <!-- <button @click="aclick">普通按钮</button> -->
    <son @click.native="hclick" />
  </div>

</template>

<script>
import son from './son.vue'
export default {
  components: { son },
  methods: {
    // aclick() {
    //   alert('ok')
    // },
    hclick() {
      alert('good')
    }
  }
}
</script>

<style>

</style>
